package com.ruoyi.web.dto;

import com.ruoyi.web.domain.Dish;
import com.ruoyi.web.domain.DishFlavor;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {
private List<DishFlavor> flavors = new ArrayList<>();

private String categoryName;

private Integer copies;

    @Override
    public String toString() {
        return "DishDto{" +
                "flavors=" + flavors +
                ", categoryName='" + categoryName + '\'' +
                ", copies=" + copies +
                '}';
    }
}
